//Break Out Of Frames
if (top.location.href!=window.location.href)
{top.location.href=window.location.href}

//Bookmark Script -- code for this also included between HEAD tags
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

//Highlight Any Table Cell Script
var ns4 = (document.layers);
var ie4 = (document.all && !document.getElementById);
var ie5 = (document.all && document.getElementById);
var ns6 = (!document.all && document.getElementById);

function changeClass(clss,objs) {
    objs = objs.split("|");
    for(i=0; i<objs.length; i++) {
        if(ns4) {
            obj = document.layers[objs[i]];
        }
        else if(ie4) {
            obj = document.all[objs[i]];
        }
        else if(ie5 || ns6) {
            obj = document.getElementById(objs[i]);
        }
        obj.className = clss
    }
}

//BMI Calc tweaks
function checkrdoInches() {
   document.myform.rdoHeight[0].checked = true;
   return true;
}

function indexHeightlist(rdoHeight){
document.myform.heightlist.selectedIndex = 0;
return true;
}

function checkrdoPounds() {
   document.myform.rdoWeight[0].checked = true;
   return true;
}

function indexWeightlist(rdoWeight){
document.myform.weightlist.selectedIndex = 0;
return true;
}